<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">
  
  <escalation id="escalation" name="escalation" escalationCode="escalationCode" />

  <process id="escalationProcess" isExecutable="true">
  
  <startEvent id="start" />
  
  <sequenceFlow sourceRef="start" targetRef="activity" />
  
  <serviceTask id="activity" camunda:expression="${true}" />
  
  <!-- escalation boundary should only be attached to subprocess, call activity or user task -->
  <boundaryEvent id="escalationBoundaryEvent" attachedToRef="activity">
    <escalationEventDefinition escalationRef="escalation" />
  </boundaryEvent>
  
  <sequenceFlow sourceRef="activity" targetRef="theEnd" />
  
  <endEvent id="theEnd" />
  

  </process>

</definitions>
